#define layout()
<html xml:lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="/assets/css/manage.css" media="screen" rel="stylesheet" type="text/css" />
	<script src="/assets/My97DatePicker/WdatePicker.js" type="text/javascript" ></script>
<script src="/assets/js/jquery-1.4.4.min.js" type="text/javascript" ></script>
	<script type="text/javascript">
		function logout(){
			window.location.href="/logout"
		}
	</script>
</head>
<body>
	<div class="manage_container">
		<div class="manage_head">
			<div class="manage_logo">
				<a href="http://www.jfinal.com" target="_blank">房屋租赁管理系统</a>
			</div>
			<div id="nav">
				<ul>
					<li><a href="/index"><b>首页</b></a></li>
					<li><a href="/user"><b>用户管理</b></a></li>
					<li><a href="/house"><b>房屋信息管理</b></a></li>
					<li><a href="/lease"><b>房屋租赁管理</b></a></li>
				</ul>
			</div>
		</div>
		<div style="text-align:right">
			<label>当前用户:</label>
			<span>#(session.user.hm)</span>
			&nbsp;
			<label>身份:</label>
			<!--<span>#(session.user.role == 1 ? "租户":"系统管理员")</span>-->
			<span>
				#if(session.user.role==1)
                    租户
                #else if(session.user.role==2)
                    房东
                #else
                    系统管理员
                #end
			</span>
			&nbsp;
			<a  target="_self" href="javascript:void(0);" onclick="logout();">退出</a>
		</div>
		<div class="main">
			#@main()
		</div>
	</div>
</body>
</html>
#end